<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=QsGb1glNPY4ZXLwB2sI2yDVZ"></script>
<title>百度地图实例Hello, World</title>
<style type="text/css">
body, html,#allmap {width: 100%;height: 100%;overflow: hidden;margin:0;}
</style>
</head>
<body>
<div id="allmap"></div>
<script type="text/javascript">

var map = new BMap.Map("allmap");// 创建Map实例
var point = new BMap.Point(116.404, 39.915);// 创建坐标
map.centerAndZoom(point,15);// 初始化地图，设置中心点坐标和地图级别
map.enableScrollWheelZoom();// 启用滚轮放大缩小
</script>
</body>
</html>
